package com.oo.inherit_3.familyCar;

/**
 * Car--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 14:52
 **/
public class Car {

    private String type;

    private String licenNo;

    public Car(String type, String licenNo) {
        this.type = type;
        this.licenNo = licenNo;
    }

    protected void start() {
        System.out.println("我是车，启动");
    }

    protected void stop() {
        System.out.println("我是车，停止");
    }

    public Car() {
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLicenNo() {
        return licenNo;
    }

    public void setLicenNo(String licenNo) {
        this.licenNo = licenNo;
    }
}
